package com.parking.bean;

public class ParkSpace {
    private Integer id;
    private String parkSpaceId;
    private String local;
    private String parkSpaceState;
    private String parkSpaceCreateDate;

    public ParkSpace(Integer id, String parkSpaceId, String local, String parkSpaceState) {
        this.id = id;
        this.parkSpaceId = parkSpaceId;
        this.local = local;
        this.parkSpaceState = parkSpaceState;
    }

    public ParkSpace(Integer id, String parkSpaceId, String local, String parkSpaceState, String parkSpaceCreateDate) {
        this.id = id;
        this.parkSpaceId = parkSpaceId;
        this.local = local;
        this.parkSpaceState = parkSpaceState;
        this.parkSpaceCreateDate = parkSpaceCreateDate;
    }

    public ParkSpace(String parkSpaceId, String local) {
        this.parkSpaceId = parkSpaceId;
        this.local = local;
    }

    public ParkSpace() {
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getParkSpaceId() {
        return parkSpaceId;
    }

    public void setParkSpaceId(String parkSpaceId) {
        this.parkSpaceId = parkSpaceId;
    }

    public String getLocal() {
        return local;
    }

    public void setLocal(String local) {
        this.local = local;
    }

    public String getParkSpaceState() {
        return parkSpaceState;
    }

    public void setParkSpaceState(String parkSpaceState) {
        this.parkSpaceState = parkSpaceState;
    }

    public String getParkSpaceCreateDate() {
        return parkSpaceCreateDate;
    }

    public void setParkSpaceCreateDate(String parkSpaceCreateDate) {
        this.parkSpaceCreateDate = parkSpaceCreateDate;
    }

    @Override
    public String toString() {
        return "ParkSpaceServlet{" +
                "id=" + id +
                ", parkSpaceId='" + parkSpaceId + '\'' +
                ", parkSpaceLocal='" + local + '\'' +
                ", parkSpaceState='" + parkSpaceState + '\'' +
                ", parkSpaceCreateDate='" + parkSpaceCreateDate + '\'' +
                '}';
    }
}
